Skip to content

Compute selection for known hotspots analysis#474

Draft
FerriolCalvet with Copilot wants to merge 2 commits into
devfrom
copilot/compute-selection-for-known-hotspots
Draft

Compute selection for known hotspots analysis#474
FerriolCalvet with Copilot wants to merge 2 commits into
devfrom
copilot/compute-selection-for-known-hotspots

Conversation

Copilot AI commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.


This section details on the original issue you should resolve

<issue_title>Compute selection for known hotspots</issue_title>
<issue_description>Using the information provided in the optional hotspots file of deepCSA, we could provide a computation of whether the (known) tumor hotspots are selected or not for each specific gene.

This could be done by taking the output of a site comparison process, and then also the file with the hotspots annotation, and with these two you could:

  1. Annotate whether each position is or is not a known hotspot.
  2. Group positions based on Gene and Hotspot(Yes/No). Apply the sum to the expected and observed columns independently.
  3. Perform 3 different groupings based on: site, amino acid change and amino acid, and for each of them...
  4. Compute the updated Obs/Exp ratios and the p-values in the same way as it is being done for the individual site selection computations.
  5. Apply multiple testing correction to the p-values.

For this we need to have a new nf module, a new python script and import some of the functions that are already present.</issue_description>

Comments on the Issue (you are @copilot in this section)

Copilot AI linked an issue Jun 9, 2026 that may be closed by this pull request
Copilot AI requested a review from FerriolCalvet June 9, 2026 12:38
@FerriolCalvet FerriolCalvet removed their request for review June 9, 2026 22:06
@FerriolCalvet FerriolCalvet changed the title [WIP] Compute selection for known hotspots analysis Compute selection for known hotspots analysis Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compute selection for known hotspots

2 participants